
package org.japril.jutil.uri;

import java.io.IOException;
import java.io.InputStream;
import java.net.URI;

/**
 * <p>
 * </p>
 * @author Arne Halvorsen
 */
public final class HttpUriFetcher extends UriInputStreamFetcher
{
  /**
   * <p>
   * </p>
   */
  public HttpUriFetcher(){ super("http"); }

  // Specified UriFetcher.
  protected InputStream fetch_(URI uri) throws IOException
  {
    return uri.toURL().openStream();
  }
  
}
